#!/bin/bash

function sum_fun()
{
	sum=$[$1+$2];
	echo $sum
}

read -p "请输入函数1" A
read -p "请输入函数2" B

sum_fun $1 $2
sum_fun $A $B

